package com.woogie.serv.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Log {
	public static void log(String log)
	{
		System.out.println("[" + getCurrentTimeStamp() + "] " + log);
	}
	
	private static String getCurrentTimeStamp() {
	    SimpleDateFormat sdfDate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//dd/MM/yyyy
	    Date now = new Date();
	    String strDate = sdfDate.format(now);
	    return strDate;
	}
}
